package net.cyl.manager;

import net.cyl.emums.DomainTypeEnum;
import net.cyl.model.DomainDO;

import java.util.List;

public interface DomainManager {

    DomainDO findById(Long id, Long accountNo);

    DomainDO findByDomainTypeAndId(Long id, DomainTypeEnum domainTypeEnum);

    int addDomain(DomainDO domainDO);

    List<DomainDO> listOfficialDomain();

    List<DomainDO> listCustomDomain(Long accountNo);
}
